home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / win / vbsmpls.zip / SAMPLES / SETOBJNM / ABSTRACT.TXT next >
Text File  |  1994-03-24  |  1KB  |  27 lines

  1. SetObjNm: A Single Function that Changes Object Names in Microsoft« Excel
  2.  
  3. SETOBJNM.XLA is a simple but useful example of an add-in. Its purpose is to 
  4. make it easy to change the default name of a graphic object, such as a button 
  5. on a dialog sheet, from "Button 2" to "cmdOK" or whatever your coding 
  6. standards dictate. On installation, the add-in puts a toolbar button on the 
  7. Forms toolbar, with the ToolTip text "Set Object Name." Selecting a graphic 
  8. object and clicking the Set Object Name button displays the default name of 
  9. the object and allows you to change it.
  10.  
  11. The source file, SETOBJNM.XLS, demonstrates:
  12.  
  13. *    Installing and uninstalling an add-in.
  14. *    Searching a collection.
  15. *    Displaying a simple dialog box.
  16. *    Using object navigation paths to add a ToolbarButton
  17.     object to a Toolbar object.
  18. *    Storing and setting toolbar button faces.
  19. *    Setting ToolTip text for a toolbar button.
  20.  
  21. A second workbook, SETOBJN1.XLS, contains code from the EditBox reference 
  22. section of Chapter 4, "Microsoft Excel Objects," in Programming Integrated 
  23. Solutions with Microsoft Office. It demonstrates the same functionality as 
  24. the add-in, but uses an uncompiled workbook.
  25.  
  26. SetObjNm incorporates the functionality of Microsoft Excel version 5.0.
  27.